WooCommerce\Square\Framework\Admin_Notice_Handler S

Total Complexity 36
Dependencies 1
Dependents 1
Total lines 389
Lines of code 184
Logical lines of code 66
Comment lines 129
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
render_admin_notices()
S
57 6 16
render_admin_notice()
S
51 5 28
render_admin_notice_js()
S
46 3 55
should_display_notice()
S
57 5 19
handle_dismiss_notice()
S
60 5 12
get_dismissed_notices()
S
63 3 11
add_admin_notice()
S
58 2 17
dismiss_notice()
S
65 2 9
is_notice_dismissed()
S
74 2 4
__construct()
S
67 1 7
render_delayed_admin_notices()
S
81 1 3
get_plugin()
S
82 1 3